from typing import List

class Solution:
    def reverseString(self, s: List[str]) -> None:
        """
        Do not return anything, modify s in-place instead.
        """
        i, j = 0, len(s) - 1
        while i < j:
            s[i], s[j] = s[j], s[i]
            i += 1
            j -= 1

s = []
Solution().reverseString(s)
print(s)

s = list('')
Solution().reverseString(s)
print(s)

s = list('ab')
Solution().reverseString(s)
print(s)

s = list('abc')
Solution().reverseString(s)
print(s)

s = list('abcd')
Solution().reverseString(s)
print(s)